<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="Preparing for the Backup">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="TiDB_00004.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="30-OceanProtect Appliance 1.5.0-1.6.0 Help Center">
<meta name="DC.Publisher" content="20241029">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="TiDB_00007">
<meta name="DC.Language" content="en-us">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>Preparing for the Backup</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="TiDB_00007"></a><a name="TiDB_00007"></a>

<h1 class="topictitle1">Preparing for the Backup</h1>
<div><p>Before backing up a TiDB cluster, prepare related information as follows:</p>
<ul><li><a href="#TiDB_00007__table481544017344">Table 1</a> lists the information required.</li></ul>

<div class="tablenoborder"><a name="TiDB_00007__table481544017344"></a><a name="table481544017344"></a><table cellpadding="4" cellspacing="0" summary="" id="TiDB_00007__table481544017344" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Preparations for backup</caption><colgroup><col style="width:18.310000000000002%"><col style="width:14.62%"><col style="width:50.73%"><col style="width:16.34%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="18.310000000000002%" id="mcps1.3.3.2.5.1.1"><p>Item</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.62%" id="mcps1.3.3.2.5.1.2"><p>Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50.73%" id="mcps1.3.3.2.5.1.3"><p>How to Obtain</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.34%" id="mcps1.3.3.2.5.1.4"><p>Section</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="18.310000000000002%" headers="mcps1.3.3.2.5.1.1 "><p>TiDB cluster username and password</p>
</td>
<td class="cellrowborder" valign="top" width="14.62%" headers="mcps1.3.3.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" valign="top" width="50.73%" headers="mcps1.3.3.2.5.1.3 "><p>Username and password of the TiDB cluster administrator, which have been configured by the user in the production environment.</p>
</td>
<td class="cellrowborder" rowspan="3" valign="top" width="16.34%" headers="mcps1.3.3.2.5.1.4 "><p><a href="TiDB_00009.html">Step 1: Registering a TiDB Cluster</a></p>
<p><a href="TiDB_00011.html">Step 3: Registering a TiDB Table Set</a></p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p>TiUP installation path</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p>You can run the <strong>which tiup</strong> command on the TiDB database cluster node to obtain it.</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p>Log backup path</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p>Yes</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.3 "><p>You can run the <strong>tiup br log status --pd</strong> <em>xx.xx.xx.xx</em> command in the TiUP installation path to obtain the backup path (<em>xx.xx.xx.xx</em> indicates the IP address of the PD node).</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="TiDB_00004.html">Backup</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">Copyright &copy; Huawei Technologies Co., Ltd.</div></body>
</html>